<%@page import="com.sz.controller.frame.UserController" %>
<%@ page import="com.sz.controller.frame.TikuController" %>
<%@page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<!DOCTYPE html>
<html>
<head>
    <%@ include file="/admin/header.jsp" %>
    <% request.setAttribute("restpwd", UserController.MODIFYPASSWORD_URL); %>
    <% request.setAttribute("list", UserController.LIST_URL); %>
    <% request.setAttribute("tikulist", TikuController.LIST_URL); %>
    <% request.setAttribute("ModifyMessageUrl", UserController.MODIFYMESSAGE_URL); %>
    <% request.setAttribute("TOWELCOME_URL", UserController.TOWELCOME_URL); %>
</head>
<body>
<header class="navbar-wrapper">
    <div class="navbar navbar-fixed-top">
        <div class="container-fluid cl">
            <a class="logo navbar-logo f-l mr-10 hidden-xs" href="javascript:location.replace(location.href);">${title }</a>
            <a class="logo navbar-logo-m f-l mr-10 visible-xs" href="/aboutHui.shtml"></a>
            <span class="logo navbar-slogan f-l mr-10 hidden-xs"></span>
            <a aria-hidden="false" class="nav-toggle Hui-iconfont visible-xs" href="javascript:;">&#xe667;</a>
            <nav id="Hui-userbar" class="nav navbar-nav navbar-userbar hidden-xs">
                <ul class="cl">
                    <li class="dropDown dropDown_hover">
                        <a href="javascript:void(0);" onclick="changeIframe('修改密码', '${ctx }${ModifyMessageUrl }?id=${sessionUser.id }');" class="dropDown_A">${sessionUser.name }
                            <i class="Hui-iconfont">&#xe6d5;</i>
                        </a>
                        <ul class="dropDown-menu menu radius box-shadow">
                            <!-- <li><a href="#">个人信息</a></li> -->
                            <li><a onclick="changeIframe('修改密码', '${ctx }${restpwd }?id=${sessionUser.id }');"
                                   href="javascript:void(0);">修改密码</a></li>
                            <li><a href="${ctx }/admin/user/exit">退出</a></li>
                        </ul>
                        <!-- mainMsgInput是页面存储消息数量的隐藏框 -->
                        <input id="mainMsgInput" type="hidden" value="-1"/>
                    </li>
                    <li id="Hui-msg"><a href="javascript:;" title="消息">
                        <span id="mainMsg" class="badge badge-danger"></span>
                        <i class="Hui-iconfont" style="font-size:18px">&#xe68a;</i></a>
                    </li>
                    <li id="Hui-skin" class="dropDown right dropDown_hover">
                        <a href="javascript:;" class="dropDown_A" title="换肤">
                            <i class="Hui-iconfont" style="font-size:18px">&#xe62a;</i>
                        </a>
                        <ul class="dropDown-menu menu radius box-shadow">
                            <li><a href="javascript:;" data-val="blue" title="默认（蓝色）">默认（蓝色）</a></li>
                            <li><a href="javascript:;" data-val="default" title="黑色">黑色</a></li>
                            <li><a href="javascript:;" data-val="green" title="绿色">绿色</a></li>
                            <li><a href="javascript:;" data-val="red" title="红色">红色</a></li>
                            <li><a href="javascript:;" data-val="yellow" title="黄色">黄色</a></li>
                            <li><a href="javascript:;" data-val="orange" title="绿色">橙色</a></li>
                        </ul>
                    </li>
                </ul>
            </nav>
        </div>
    </div>
</header>
<aside class="Hui-aside">
    <div class="menu_dropdown bk_2">
            <dl id="menu-admin">
                <dt>
                    <i class="Hui-iconfont">&#xe667;</i>系统管理<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i>
                </dt>
                <dd>
                    <ul>
                        <li>
                            <a onclick="changeIframe('用户管理', '${ctx}${list}');" href="javascript:void(0)">
                                <i class="Hui-iconfont">&#xe623;用户管理</i>
                            </a>
                        </li>
                        <li>
                            <a onclick="changeIframe('题库管理', '${ctx}${tikulist}');" href="javascript:void(0)">
                                <i class="Hui-iconfont">&#xe623;题库管理</i>
                            </a>
                        </li>
                    </ul>
                </dd>
            </dl>
    </div>
</aside>

<div class="dislpayArrow hidden-xs">
    <a class="pngfix" href="javascript:void(0);" onClick="displaynavbar(this)"></a>
</div>
<section class="Hui-article-box">
    <div id="Hui-tabNav" class="Hui-tabNav hidden-xs">
        <div class="Hui-tabNav-wp">
            <ul id="min_title_list" class="acrossTab cl">
                <%-- <li class="active"><span title="首页" data-href="${ctx}${firstUrl}">${firstName }</span><em></em></li> --%>
                <li class="active">
                    <span title="首页" data-href="${ctx}/admin/monthlyReportRecord/indexCbAndYb">首页</span><em></em>
                </li>
            </ul>
        </div>
        <div class="Hui-tabNav-more btn-group">
            <a id="js-tabNav-prev" class="btn radius btn-default size-S" href="javascript:;"><i class="Hui-iconfont">&#xe6d4;</i></a>
            <a id="js-tabNav-next" class="btn radius btn-default size-S" href="javascript:;"><i class="Hui-iconfont">&#xe6d7;</i></a>
        </div>
    </div>
    <div id="iframe_box" class="Hui-article">
        <div class="show_iframe">
            <div style="display:none" class="loading"></div>
            <%-- <iframe id="adminIframeId" style="scrolling:yes; frameborder:0;overflow: scroll;" src="${ctx}/admin/monthlyReportRecord/indexCbAndYb"></iframe> --%>
            <iframe id="adminIframeId" style="scrolling:yes; frameborder:0;overflow: scroll;" src="${ctx}${TOWELCOME_URL}">
            </iframe>
        </div>
    </div>
</section>
<%@ include file="/admin/footer.jsp" %>
<!-- 发送消息 -->
<%-- <%@ include file="/admin/webSocketMsg.jsp"%> --%>
</body>
</html>